JavaScript

tbiObj.selectPaneByIndex Method

Syntax

tbiObj.selectPaneByIndex(paneIndex);

Arguments

paneIndexnumber

The pane index. The pane index is zero-based (i.e. the first pane's index is 0).

Description

Sets the active TabbedUI pane by pane index.

Discussion

The tbiObj.selectPaneByIndex() method selects the active pane by index number. Panes in a tabbed ui are zero-based index. This means the first pane has an index of 0, the second and index of 1, and so on.

The example below selects the first pane in the Tabbed UI component:

tbiObj.selectPaneByIndex(0);